<!DOCTYPE html>
<html lang="zh">
  <head>
    <meta charset="UTF-8" />
    <meta name="mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="application-name" content="Waddle" />
    <meta name="apple-mobile-web-app-title" content="Waddle" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
    <meta name="msapplication-navbutton-color" content="#6d50f0" />
    <meta name="msapplication-starturl" content="/" />
    <meta name="theme-color" content="#6d50f0" />
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="description" content="Basic available instance built on Google Blockly." />
    <link rel="icon" type="image/png" href="./src/icon/logo/waddle2mini.png" />
    <link rel="apple-touch-icon" type="image/png" href="./src/icon/logo/waddle2mini.png" />
    <script src="https://unpkg.com/@dotlottie/player-component@latest/dist/dotlottie-player.mjs" type="module"></script>
    <title>Waddle</title>
    <!-- <style>
      .loading {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
      }
    </style> -->
  </head>

  <body>
    <!-- <div class="loading">
      <dotlottie-player
        src="https://lottie.host/c25ba7ee-630d-49ad-baac-f9c547ffa20a/fF7eOl0RZM.lottie"
        background="transparent"
        speed="1"
        style="width: 300px; height: 300px"
        loop
        autoplay
      ></dotlottie-player>
      <script>
        let a;
        switch (localStorage.getItem("theme")) {
          case "亮色模式":
            a = "#ffffff";
            break;
          case "暗黑模式":
            a = "#17171A";
            break;
          default:
            if (window.matchMedia("(prefers-color-scheme: dark)").matches) {
              a = "#17171A";
            } else {
              a = "#ffffff";
            }
        }
        document.querySelector(".loading").style.background = a;
      </script>
    </div> -->
    <div id="app"></div>
    <script type="module" src="./src/main.js"></script>
  </body>
</html>
